/*基本表格*/
.yui-datagrid-table {
    line-height: 20px;
    font-size: 12px;
    border-collapse: collapse;
}
    /*表格标题列*/
    .yui-datagrid-table > thead th {
        border: 1px #CCC solid;
        background-color: #efdfd1;
        height: 30px;
        color: #634a31;
        text-align: center;
        /*padding:0 4px;*/
    }
    /*表头排序*/
    .yui-datagrid-table > thead tr .header {
        background-image: url(images/datagrid_order.gif);
        background-position: center right;
        background-repeat: no-repeat;
        cursor: pointer;
        overflow: hidden;
    }

    .yui-datagrid-table > thead tr .headerSortUp {
        background-image: url(images/datagrid_asc.gif);
    }

    .yui-datagrid-table > thead tr .headerSortDown {
        background-image: url(images/datagrid_desc.gif);
    }
    /*表头排序背景*/
    .yui-datagrid-table > thead > tr .headerSortDown, .yui-datagrid-table > thead > tr .headerSortUp {
        background-color: #8dbdd8;
    }


    /*表格数据行列*/
    .yui-datagrid-table > tbody td {
        border: 1px solid #CCC;
        padding: 4px;
        height: 5px;
        font-size: 12px;
        vertical-align: middle;
        line-height: 20px;
        word-break: break-all;
    }

        .yui-datagrid-table > tbody td > .operate > a {
            margin: 0 3px;
        }

        .yui-datagrid-table > tbody td.marker {
            background: url(images/prompt.png) right bottom no-repeat;
        }

    .yui-datagrid-table > thead td.selectArea {
        width: 30px;
        background-color: #efdfd1;
        cursor: pointer;
    }
    /*表格的选择框*/
    .yui-datagrid-table > tbody td .yui-datagrid-checkbox {
        height: auto;
        outline: none;
        border: none;
    }
    /*当前选行*/
    .yui-datagrid-table > tbody tr.currentSelect {
        background-color: #5c9ccc;
    }
    /*斑马线*/
    .yui-datagrid-table > tbody tr:nth-child(odd) {
        /*background-color: #F0F0F6;*/
    }

    .yui-datagrid-table .hiddenRow {
        height: 0 !important;
        border: none;
        background-color: transparent !important;
        color: transparent !important;
    }

        .yui-datagrid-table .hiddenRow td, table.yui-datagrid .hiddenRow th {
            border: none !important;
            padding: 0 !important;
            height: 0 !important;
            line-height: 0 !important;
        }

    .yui-datagrid-table tbody tr td.parentNode_Noexpan {
        background: url("images/gridparent_ico01.png") no-repeat left center;
    }

    .yui-datagrid-table tbody tr td.parentNode_expan {
        background: url("images/gridparent_ico02.png") no-repeat left center;
    }

    .yui-datagrid-table tbody tr.childNode_Noexpan {
        background-color: #fff8ca;
        color: #6d7177;
    }
/*table.yui-datagrid tbody tr.childNode_Noexpan td{*/
/*border: none;*/
/*border-bottom:1px solid #ccc ;*/
/*}*/
table.yui-datagrid tbody tr.childNode_Noexpan td:first-child {
    background: url("images/gridchild_ico02.png") no-repeat left center;
}


.yui-datagrid-borderline {
    border-bottom: 3px solid #9e866e;
}

/*表格数据体*/
.yui-datagrid-body {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /*position: relative;*/
}
/*冻结表格表头*/
.yui-datagrid-th {
    clear: both;
    /*position: relative;*/
    /*z-index: 500;*/
}

/*补白区域*/
.yui-datagrid-space {
    clear: both;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: none;
    border-top: none;
}

    .yui-datagrid-space .nodata {
        border: 1px dotted #ccc;
        height: 50px;
        line-height: 50px;
        width: 280px;
        position: relative;
        top: 50%;
        left: 50%;
        margin-left: -140px;
        margin-top: -15px;
        text-align: center;
        font-size: 14px;
    }
/*表格组件的头部*/
.yui-datagrid-head {
    clear: both;
    width: 100%;
    float: left;
    clear: both;
    height: 30px;
    overflow: hidden;
}

    .yui-datagrid-head ul {
        display: inline;
    }

    .yui-datagrid-head li {
        float: left;
        list-style: none;
        margin-left: 2px;
    }

    .yui-datagrid-head .caption {
        margin: 0;
        display: inline-block;
        background-color: #9e866e;
        color: #ffffff;
        font-size: 14px;
        padding: 0 10px;
        line-height: 30px;
        float: left;
    }
    /*表格设置按钮*/
    .yui-datagrid-head .setting {
        padding-right: 5px;
        float: right;
    }

        .yui-datagrid-head .setting .settingbtn {
            height: 25px;
            width: 70px;
            margin: 2px;
        }

    .yui-datagrid-head .iconsetting {
        background-color: transparent;
        position: relative;
        bottom: 0;
        border: none;
        margin: 0;
        padding: 0;
        width: 27px;
        height: 27px;
        background-image: url("images/set_icon.png");
        background-repeat: no-repeat;
        outline: none;
    }
    /*表格导出按钮*/
    .yui-datagrid-head .exportbtn {
        height: 25px;
        width: 90px;
        margin: 2px;
        display: block;
        border: 1px solid #ccc;
        text-align: center;
        line-height: 25px;
        background-color: #9e866e;
        color: #fff;
    }

        .yui-datagrid-head .exportbtn:hover {
            background-color: #fbf1e8;
            color: #9e866e;
            cursor: pointer;
        }

.export-view {
    padding-top: 20px;
}

    .export-view button {
        display: block;
        margin: 10px auto;
        width: 150px;
        height: 35px;
    }

.yui-dgqf {
    float: left;
    margin: 0 0 1px 1px;
    z-index: 2;
    left: 0;
    height: 30px;
    background-color: #fff;
    display: inline-table;
}

    .yui-dgqf li {
        display: table-cell;
        vertical-align: middle;
    }

    .yui-dgqf input {
        height: 22px;
        border: 1px solid #c1c1c1;
        line-height: 22px;
        outline-color: #0AA699;
        outline-width: 1px;
        padding: 0 2px;
        vertical-align: baseline;
    }

    .yui-dgqf .querytitle {
        font-size: 12px;
        margin: 0px 3px;
        color: #555;
        line-height: 30px;
    }

    .yui-dgqf button {
        margin-right: 3px;
        padding: 2px 5px;
        background-image: url("images/datagrid_hbtns_bg01.jpg");
        border: 1px solid #c1c1c1;
        color: #444;
    }

.yui-datagrid-hbtns {
    width: auto;
    text-align: right;
    float: right;
    margin: 3px 2px 5px 5px;
}

.yui-datagrid-hbtns button {
    margin: 0 0 0 2px;
    padding: 2px 5px;
    background-image: url("images/datagrid_hbtns_bg01.jpg");
    border: 1px solid #c1c1c1;
    color: #444;
    height: auto;
    width: auto;
    min-width: 70px;
    cursor: pointer;
    outline: none;
}

.yui-datagrid-settingpage {
    font: 12px/20px "Microsoft YaHei", Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
    margin: 5px auto;
    /*text-align: center;*/
}
    /*����ҳ���һ��*/
    .yui-datagrid-settingpage .row {
        clear: both;
        overflow: hidden;
        margin-left: 15px;
        line-height: 40px;
    }
    /*表格设置页*/
    .yui-datagrid-settingpage .savebtn {
        position: relative;
        width: 100px;
        height: 30px;
        left: 50%;
        margin: 10px auto 10px -55px;
        clear: both;
    }
    /*设置页长输入框*/
    .yui-datagrid-settingpage .longinput {
        width: 280px;
        background-color: #FFF;
        height: 23px;
    }

    .yui-datagrid-settingpage .shortinput {
        width: 80px;
        height: 23px;
    }
    /*����ҳ�������*/
    .yui-datagrid-settingpage .bigword {
        font-size: 14px;
        font-weight: bold;
        padding-left: 1px;
    }
    /*����ҳ���ֶ�ѡ��Ŀ��ư�ť*/
    .yui-datagrid-settingpage .controlbtn {
        position: relative;
        float: left;
        height: 100px;
    }

        .yui-datagrid-settingpage .controlbtn button {
            margin-top: 9px;
            display: block;
            height: 25px;
            width: 50px;
            padding: 0;
            line-height: 20px;
        }
    /**����ҳ����ֶ�ѡ����*/
    .yui-datagrid-settingpage .columns option {
        padding: 3px 0 3px 5px;
        border-bottom: 1px dashed #ccc;
    }
/*�п�ı䴦���ǩ*/
.rchandle {
    position: absolute;
    width: 7px;
    cursor: ew-resize;
    margin-left: -3px;
    /*background-color: #000088;*/
}


.yui-datagrid-subColumn {
    padding: 0 !important;
}

.yui-datagrid-subgrid tr th {
    /*height: 100%!important;*/
    border: none !important;
    padding: 0 4px;
    /*border-right: 1px solid #000!important;*/
}
.yui-datagrid-subdata{
    padding: 0!important;
}
.yui-datagrid-subdata tr td{
    border:none!important;
    border-bottom: 1px solid #ccc!important;
}
.yui-datagrid-body-container{
    /*width: 100%;*/
    /*height: 100%;*/
    overflow: hidden;
}
.yui-datagrid-body-container table{
    margin: 0;
}
.yui-datagrid-body-corner{
    overflow: hidden;
    position: relative;
    z-index: 50;
}
.yui-datagrid-body-head{
    overflow: hidden;
    position: relative;
    z-index:45;
    display: none;
}
.yui-datagrid-body-columns{
    overflow: hidden;
    position: relative;
    z-index:40;
    display: none;
}
.yui-datagrid-body-columns td{
    background-color: #d1d1d1;
    border-color: #fff;
}
.yui-datagrid-body-data{
    overflow: auto;
    position: relative;
    z-index: 35
}
.yui-datagrid-foot{
    position: relative;
}
.yui-datagrid-foot .counterbtn{
    margin: 3px 0px 0 5px;
    display: inline-block;
    width: 50px;
    height: 23px;
    border: 1px solid #d7c7b6;
    padding: 0px 0 0 10px;
    text-align: center;
    cursor:default;
    float: left;
    outline: none;
    background: #fbf1e8 url(images/count_ico.png) no-repeat left center;
}
.yui-datagrid-foot>.counterView{
    position: absolute;
    height: 30px;
    width: 100%;
    top: 0;
    background-color: #efdfd1;
}
.yui-datagrid-foot>.counterView>.closeicon{
    background: url(images/close1.png) no-repeat right center;
    margin-top: 3px;
    display: inline-block;
    width: 15px;
    height: 25px;
    vertical-align: middle;
    float: right;
    margin-right: 3px;
}
.yui-datagrid-foot>.counterView>.closeicon:hover{
    background-image:url('images/close2.png');
}
.yui-datagrid-foot>.counterView>.counterItem{
    display: inline-block;
    margin-left: 3px;
    line-height: 30px;
    color: #9e866e;
}
.yui-datagrid-foot>.counterView>.counterItem>.title{

}
.yui-datagrid-foot>.counterView>.counterItem>.value{
    font-weight: bold;  color: #dd4444;padding:0 3px;
}
/*分页样式表*/

.yui-datagrid-pager{
    margin-top: 2px;
    width: 100%;
    background-color: #efdfd1;
    height:30px;
    line-height: 30px;
}
.yui-datagrid-pager .display {
    margin: 5px 0 0 10px;
    float: left;
    color: #9e866e;
}
.yui-datagrid-pager .pagesize {
    border: 1px solid #dbc4ae;
    position: relative;
    width: 50px;
    margin:-3px 2px 0 4px;
    height: 20px;
}
.yui-datagrid-pager .pagebtnAara {
    margin-right: 10px;
    float: right;
    line-height: 30px;
    color: #9e866e;
}


.yui-datagrid-pager .actionbtn {
    margin: 2px 2px 0 2px;
    display: inline-block;
    width: 45px;
    height: 20px;
    border: 1px solid #d7c7b6 ;
    padding: 2px 0 0 2px;
    text-align: center;
    background-color: #fbf1e8;
    cursor:pointer;
    box-sizing: content-box;
}
.yui-datagrid-pager .pagebtnAara .previous {

}
.yui-datagrid-pager .pagebtnAara .actionbtn:hover,.yui-datagrid-pager .pagebtnAara .actionbtn:after {
    background-color: #dbc4ae;
}
.yui-datagrid-contenthint{
    position: absolute;
    margin-top: 28px;
    background-color: #fff;
    color: #393D49;
    padding: 8px;
    box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.8);
    /*max-width: 300px;*/
    border-radius: 4px;
    text-align: left;
}